import request from "@/utils/request";

// 查询抖音产品营销数据列表
export function listBiDyMarketingPro(query) {
  return request({
    url: "/productStructure/BiDyMarketingPro/list",
    method: "get",
    params: query,
  });
}

// 查询抖音产品营销数据详细
export function getBiDyMarketingPro(id) {
  return request({
    url: "/productStructure/BiDyMarketingPro/" + id,
    method: "get",
  });
}

// 新增抖音产品营销数据
export function addBiDyMarketingPro(data) {
  return request({
    url: "/productStructure/BiDyMarketingPro",
    method: "post",
    data: data,
  });
}

// 修改抖音产品营销数据
export function updateBiDyMarketingPro(data) {
  return request({
    url: "/productStructure/BiDyMarketingPro",
    method: "put",
    data: data,
  });
}

// 删除抖音产品营销数据
export function delBiDyMarketingPro(id) {
  return request({
    url: "/productStructure/BiDyMarketingPro/" + id,
    method: "delete",
  });
}
